package com.along.repository;


import com.along.entity.DeptES;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface DeptESRepository extends ElasticsearchRepository<DeptES, Long> {

    List<DeptES> findByDeptName(String deptName);

    List<DeptES> findByDeptNameContaining(String deptName);

}
